package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程报名信息对象 courseregistrations
 * 
 * @author 张英旺
 * @date 2024-02-27
 */
public class Courseregistrations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报名ID */
    private Long registrationId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 报名日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDatetime;

    /** 报名状态 */
    @Excel(name = "报名状态")
    private String registrationStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String registrationNotes;

    /** 用户信息信息 */
    private List<SysUser> sysUserList;

    /** 健身课程信息信息 */
    private List<Courses> coursesList;

    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setRegistrationDatetime(Date registrationDatetime) 
    {
        this.registrationDatetime = registrationDatetime;
    }

    public Date getRegistrationDatetime() 
    {
        return registrationDatetime;
    }
    public void setRegistrationStatus(String registrationStatus) 
    {
        this.registrationStatus = registrationStatus;
    }

    public String getRegistrationStatus() 
    {
        return registrationStatus;
    }
    public void setRegistrationNotes(String registrationNotes) 
    {
        this.registrationNotes = registrationNotes;
    }

    public String getRegistrationNotes() 
    {
        return registrationNotes;
    }

    public List<SysUser> getSysUserList()
    {
        return sysUserList;
    }

    public List<Courses> getCoursesList()
    {
        return coursesList;
    }

    public void setCoursesList(List<Courses> coursesList)
    {
        this.coursesList = coursesList;
    }
    public void setSysUserList(List<SysUser> sysUserList)
    {
        this.sysUserList = sysUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("registrationId", getRegistrationId())
            .append("userId", getUserId())
            .append("courseId", getCourseId())
            .append("registrationDatetime", getRegistrationDatetime())
            .append("registrationStatus", getRegistrationStatus())
            .append("registrationNotes", getRegistrationNotes())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sysUserList", getSysUserList())
            .append("coursesList", getCoursesList())
            .toString();
    }
}
